package com.tencreat.common.constant;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class TencreatIdAndName implements Serializable {
    private static final long serialVersionUID = 1L;

    @JsonProperty(value = "objId")
    @ApiModelProperty(value = "省/市/区ID")
    private Integer id;
    @ApiModelProperty(value = "名称")
    private String name;

    public TencreatIdAndName() {
        super();
    }

    public TencreatIdAndName(Integer id, String name) {
        super();
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
